package com.zzsz.cf.cat.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zzsz.common.annotation.Excel;
import com.zzsz.common.core.domain.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 【请填写功能名称】对象 zzw_category
 *
 * @author ruoyi
 * @date 2025-09-01
 */
@Data
public class ZzwCategory extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String category_name;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String description;
    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String remark;
    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date  create_time;
    private Integer display_order;


    @Override
    public String toString() {
        return "ZzwCategory{" +
                "id=" + id +
                ", category_name='" + category_name + '\'' +
                ", description='" + description + '\'' +
                ", remark='" + remark + '\'' +
                ", create_time=" + create_time +
                '}';
    }
}